package com.junchenrobot.mes.config;

import lombok.Getter;
import lombok.Setter;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * plc属性
 *
 * @author SeaWave
 */
@Getter
@Setter
@Component
@ConfigurationProperties(prefix = "plc")
public class PlcProperties {
    
    /**
     * plc 主机
     */
    private String host;
    
    /**
     * 端口
     */
    private Integer port;
    
    /**
     * 络筒机读DB块
     */
    private Integer winderReadDB;
    
    /**
     * 络筒机写DB
     */
    private Integer winderWriteDB;
    
    /**
     * 中转站读DB
     */
    private Integer transferReadDB;
    
    /**
     * 中转站写DB
     */
    private Integer transferWriteDB;
    
}
